<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">  
  <title>修改视频信息</title>
 </head>
 <body>
 <?php
   
   $row = $data['vv'];
   $id = $row['vid'];  
   $videoname = $row['videoname'];
   $tid = $row['tid'];
   $intro = $row['intro'];
   $pic = 'upload1/'.$row['pic'];    
   $address = $row['address'];
 ?>

<form method="post"  action="index.php?c=video&m=update1"  enctype="multipart/form-data">
<table align="center" border="1" width=500>
<caption>修改视频</caption>
<tr>
  <td width="20%">id</td>
  <td width="80%"><?php  echo $id;  ?>
  <input type="hidden" name="id" value=<?php  echo $id;  ?>>  
  </td>
</tr>
<tr>
  <td>视频名称：</td>
  <td><input type="text" name="videoname" size=30  value=<?php  echo $videoname;  ?>></td>
</tr>
<tr>
<td>视频类型:</td>
<td>
    <input type="text" name="tid" class="form-control" value="<?php echo $tid; ?>"></div>  
</tr>
<tr>
  <td width=150>视频海报</td>   
  <td>
  <img src='<?php  echo $pic;  ?>' width=100 height=150>
  <input type="file" name="pic">
  </td>
</tr>

<tr>
<td width=150>视频简介</td>
<td>
<textarea name="intro" cols="40" rows="5"><?php  echo $intro;  ?></textarea>
</td>
</tr>

<tr>
<td width=150>下载地址</td>
<td>
<textarea name="address" cols="40" rows="5"><?php  echo $address;  ?></textarea>
</td>
</tr>

<tr>
<td width=150></td>
<td>
<input type="submit" value="更新">
<input type="reset" value="重置">
</td>
</tr>
</table>
</form>
 </body>
</html>